home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
PROGRAMM
/
DB_CLIPP
/
2510.ZIP
/
TRSOURCE.EXE
/
COUNTRY.C
< prev
next >
Wrap
C/C++ Source or Header
|
1990-10-22
|
541b
|
29 lines
/*********
*
* COUNTRY.C
*
* by Ralph Davis
*
* Placed in the public domain by Tom Rettig Associates, 10/22/1990.
*
* Syntax: COUNTRY()
* Return: <expN> indicating number code on COUNTRY= line in CONFIG.SYS
*********/
#include "trlib.h"
TRTYPE country()
{
char *confparm = "COUNTRY";
int country_num;
country_num = _tr_doscnf(confparm);
if (country_num == (-1)) /* Not specified in CONFIG.SYS */
_retni( 0 ); /* Default country */
else
_retni( country_num );
}